package com.github.yealove.configgen.service;


import com.github.yealove.configgen.model.NacosItem;
import com.github.yealove.configgen.model.Result;

import java.util.List;

public interface ResultService {

    void genResult(int tId, int gId);

    void genResult(List<Integer> templateIds, int gId);

    int saveResult(Result result);

    List<Result> searchResult(String search, String startTime, String endTime);

    List<Result> getResultByIds(List<Integer> rIds);

    void addPushLog(NacosItem nacosItem);

    void clear();
}
